[INFO] fetching crate wc-lock 0.2.1...
[INFO] fixing wc-lock-0.2.1 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate wc-lock 0.2.1 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate wc-lock 0.2.1
[INFO] finished tweaking crates.io crate wc-lock 0.2.1
[INFO] tweaked toml for crates.io crate wc-lock 0.2.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate wc-lock 0.2.1 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 91 packages to latest compatible versions
[INFO] [stderr]       Adding byteorder v0.5.3 (available: v1.5.0)
[INFO] [stderr]       Adding clap v2.34.0 (available: v4.6.1)
[INFO] [stderr]       Adding dbus v0.5.4 (available: v0.9.11)
[INFO] [stderr]       Adding image v0.10.4 (available: v0.25.10)
[INFO] [stderr]       Adding rand v0.3.23 (available: v0.10.1)
[INFO] [stderr]       Adding tempfile v2.2.0 (available: v3.27.0)
[INFO] [stderr]       Adding wayland-client v0.9.10 (available: v0.31.14)
[INFO] [stderr]       Adding wayland-kbd v0.9.1 (available: v0.13.1)
[INFO] [stderr]       Adding wayland-scanner v0.9.10 (available: v0.31.10)
[INFO] [stderr]       Adding wayland-sys v0.9.10 (available: v0.31.11)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `wc-lock` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8d8eb7f226eb5548bff69c4536cdb872aa1c22489d4e52774a70487ed94a2eba
[INFO] running `Command { std: "docker" "start" "8d8eb7f226eb5548bff69c4536cdb872aa1c22489d4e52774a70487ed94a2eba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8d8eb7f226eb5548bff69c4536cdb872aa1c22489d4e52774a70487ed94a2eba" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d8eb7f226eb5548bff69c4536cdb872aa1c22489d4e52774a70487ed94a2eba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8d8eb7f226eb5548bff69c4536cdb872aa1c22489d4e52774a70487ed94a2eba" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `wc-lock` (manifest) generated 1 warning
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]    Compiling dtoa v0.4.8
[INFO] [stderr]    Compiling serde v0.9.15
[INFO] [stderr]    Compiling itoa v0.3.4
[INFO] [stderr]    Compiling bitflags v0.9.1
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking lazy_static v0.2.11
[INFO] [stderr]    Compiling num-bigint v0.1.45
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]    Compiling miniz-sys v0.1.12
[INFO] [stderr]    Compiling pkg-config v0.3.33
[INFO] [stderr]    Compiling num-rational v0.1.43
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling xml-rs v0.6.1
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling phf v0.7.24
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking either v1.16.0
[INFO] [stderr]     Checking bitflags v0.7.0
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]     Checking inflate v0.1.1
[INFO] [stderr]     Checking fs2 v0.2.5
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking memmap v0.4.0
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking enum_primitive v0.1.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking gif v0.9.2
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]    Compiling wayland-scanner v0.9.10
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking byteorder v0.5.3
[INFO] [stderr]     Checking glob v0.2.11
[INFO] [stderr]    Compiling libdbus-sys v0.1.5
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking tempfile v2.2.0
[INFO] [stderr]     Checking flate2 v0.2.20
[INFO] [stderr]    Compiling wayland-client v0.9.10
[INFO] [stderr]    Compiling wc-lock v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]    Migrating build.rs from 2015 edition to 2018
[INFO] [stderr]     Checking dbus v0.5.4
[INFO] [stderr]     Checking png v0.5.2
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling target_build_utils v0.3.1
[INFO] [stderr]    Compiling serde_json v0.9.10
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking image v0.10.4
[INFO] [stderr]    Compiling libloading v0.3.4
[INFO] [stderr]     Checking dlib v0.3.1
[INFO] [stderr]     Checking wayland-sys v0.9.10
[INFO] [stderr]     Checking way-cooler-client-helpers v0.1.0
[INFO] [stderr]     Checking wayland-kbd v0.9.1
[INFO] [stderr]    Migrating src/main.rs from 2015 edition to 2018
[INFO] [stderr]        Fixed src/input.rs (2 fixes)
[INFO] [stderr]        Fixed src/main.rs (6 fixes)
[INFO] [stderr]        Fixed src/window.rs (2 fixes)
[INFO] [stderr]        Fixed src/effects/blur.rs (1 fix)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.30s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr] crater-edition-check: wc-lock v0.2.1 (/opt/rustwide/workdir) updating edition from 2015 to 2018
[INFO] [stderr]    Compiling wc-lock v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build
[INFO] [stdout]  --> build.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | use gcc::Config;
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build
[INFO] [stdout]   --> build.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut config = Config::new();
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained
[INFO] [stdout]   --> build.rs:16:30
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut config = Config::new();
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/input.rs:58:38
[INFO] [stdout]    |
[INFO] [stdout] 58 |                 let bytes: [u8; 4] = ::std::mem::transmute(val.to_be());
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 58 -                 let bytes: [u8; 4] = ::std::mem::transmute(val.to_be());
[INFO] [stdout] 58 +                 let bytes: [u8; 4] = u32::to_ne_bytes(val.to_be());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 18 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 23 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 26 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 27 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 30 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:33:141
[INFO] [stdout]    |
[INFO] [stdout] 33 | ... c_char, types: unsafe { &desktop_shell_requests_set_background_types as *const _ } },
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 33 |     wl_message { name: b"set_background\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_background_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:34:136
[INFO] [stdout]    |
[INFO] [stdout] 34 | ...st c_char, types: unsafe { &desktop_shell_requests_set_panel_types as *const _ } },
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 34 |     wl_message { name: b"set_panel\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_panel_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:35:143
[INFO] [stdout]    |
[INFO] [stdout] 35 | ...c_char, types: unsafe { &desktop_shell_requests_set_lock_surface_types as *const _ } },
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 35 |     wl_message { name: b"set_lock_surface\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_lock_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:36:131
[INFO] [stdout]    |
[INFO] [stdout] 36 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 36 |     wl_message { name: b"unlock\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:37:142
[INFO] [stdout]    |
[INFO] [stdout] 37 | ...c_char, types: unsafe { &desktop_shell_requests_set_grab_surface_types as *const _ } },
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 37 |     wl_message { name: b"set_grab_surface\0" as *const u8 as *const c_char, signature: b"o\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_grab_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:38:139
[INFO] [stdout]    |
[INFO] [stdout] 38 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 38 |     wl_message { name: b"desktop_ready\0" as *const u8 as *const c_char, signature: b"2\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                            +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:39:145
[INFO] [stdout]    |
[INFO] [stdout] 39 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 39 |     wl_message { name: b"set_panel_position\0" as *const u8 as *const c_char, signature: b"3u\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 43 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:48:138
[INFO] [stdout]    |
[INFO] [stdout] 48 | ...nst c_char, types: unsafe { &desktop_shell_events_configure_types as *const _ } },
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 48 |     wl_message { name: b"configure\0" as *const u8 as *const c_char, signature: b"uoii\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_events_configure_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:49:145
[INFO] [stdout]    |
[INFO] [stdout] 49 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 49 |     wl_message { name: b"prepare_lock_surface\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:50:137
[INFO] [stdout]    |
[INFO] [stdout] 50 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 50 |     wl_message { name: b"grab_cursor\0" as *const u8 as *const c_char, signature: b"u\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:57:24
[INFO] [stdout]    |
[INFO] [stdout] 57 |     requests: unsafe { &desktop_shell_requests as *const _ },
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 57 |     requests: unsafe { &raw const desktop_shell_requests as *const _ },
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:59:22
[INFO] [stdout]    |
[INFO] [stdout] 59 |     events: unsafe { &desktop_shell_events as *const _ },
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 59 |     events: unsafe { &raw const desktop_shell_events as *const _ },
[INFO] [stdout]    |                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:66:14
[INFO] [stdout]    |
[INFO] [stdout] 66 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 66 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:69:138
[INFO] [stdout]    |
[INFO] [stdout] 69 | ...st c_char, types: unsafe { &screensaver_requests_set_surface_types as *const _ } },
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 69 |     wl_message { name: b"set_surface\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const screensaver_requests_set_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:76:24
[INFO] [stdout]    |
[INFO] [stdout] 76 |     requests: unsafe { &screensaver_requests as *const _ },
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 76 |     requests: unsafe { &raw const screensaver_requests as *const _ },
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:59:62
[INFO] [stdout]    |
[INFO] [stdout] 59 |         fn interface_ptr() -> *const wl_interface { unsafe { &desktop_shell_interface } }
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 59 |         fn interface_ptr() -> *const wl_interface { unsafe { &raw const desktop_shell_interface } }
[INFO] [stdout]    |                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:312:62
[INFO] [stdout]     |
[INFO] [stdout] 312 |         fn interface_ptr() -> *const wl_interface { unsafe { &screensaver_interface } }
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 312 |         fn interface_ptr() -> *const wl_interface { unsafe { &raw const screensaver_interface } }
[INFO] [stdout]     |                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/input.rs:58:38
[INFO] [stdout]    |
[INFO] [stdout] 58 |                 let bytes: [u8; 4] = ::std::mem::transmute(val.to_be());
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 58 -                 let bytes: [u8; 4] = ::std::mem::transmute(val.to_be());
[INFO] [stdout] 58 +                 let bytes: [u8; 4] = u32::to_ne_bytes(val.to_be());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 18 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 23 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 26 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 27 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 30 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:33:141
[INFO] [stdout]    |
[INFO] [stdout] 33 | ... c_char, types: unsafe { &desktop_shell_requests_set_background_types as *const _ } },
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 33 |     wl_message { name: b"set_background\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_background_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:34:136
[INFO] [stdout]    |
[INFO] [stdout] 34 | ...st c_char, types: unsafe { &desktop_shell_requests_set_panel_types as *const _ } },
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 34 |     wl_message { name: b"set_panel\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_panel_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:35:143
[INFO] [stdout]    |
[INFO] [stdout] 35 | ...c_char, types: unsafe { &desktop_shell_requests_set_lock_surface_types as *const _ } },
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 35 |     wl_message { name: b"set_lock_surface\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_lock_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.62s
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:36:131
[INFO] [stdout]    |
[INFO] [stdout] 36 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 36 |     wl_message { name: b"unlock\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:37:142
[INFO] [stdout]    |
[INFO] [stdout] 37 | ...c_char, types: unsafe { &desktop_shell_requests_set_grab_surface_types as *const _ } },
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 37 |     wl_message { name: b"set_grab_surface\0" as *const u8 as *const c_char, signature: b"o\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_grab_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:38:139
[INFO] [stdout]    |
[INFO] [stdout] 38 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 38 |     wl_message { name: b"desktop_ready\0" as *const u8 as *const c_char, signature: b"2\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                            +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:39:145
[INFO] [stdout]    |
[INFO] [stdout] 39 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 39 |     wl_message { name: b"set_panel_position\0" as *const u8 as *const c_char, signature: b"3u\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 43 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:48:138
[INFO] [stdout]    |
[INFO] [stdout] 48 | ...nst c_char, types: unsafe { &desktop_shell_events_configure_types as *const _ } },
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 48 |     wl_message { name: b"configure\0" as *const u8 as *const c_char, signature: b"uoii\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_events_configure_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:49:145
[INFO] [stdout]    |
[INFO] [stdout] 49 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 49 |     wl_message { name: b"prepare_lock_surface\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:50:137
[INFO] [stdout]    |
[INFO] [stdout] 50 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 50 |     wl_message { name: b"grab_cursor\0" as *const u8 as *const c_char, signature: b"u\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:57:24
[INFO] [stdout]    |
[INFO] [stdout] 57 |     requests: unsafe { &desktop_shell_requests as *const _ },
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 57 |     requests: unsafe { &raw const desktop_shell_requests as *const _ },
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:59:22
[INFO] [stdout]    |
[INFO] [stdout] 59 |     events: unsafe { &desktop_shell_events as *const _ },
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 59 |     events: unsafe { &raw const desktop_shell_events as *const _ },
[INFO] [stdout]    |                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:66:14
[INFO] [stdout]    |
[INFO] [stdout] 66 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 66 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:69:138
[INFO] [stdout]    |
[INFO] [stdout] 69 | ...st c_char, types: unsafe { &screensaver_requests_set_surface_types as *const _ } },
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 69 |     wl_message { name: b"set_surface\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const screensaver_requests_set_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:76:24
[INFO] [stdout]    |
[INFO] [stdout] 76 |     requests: unsafe { &screensaver_requests as *const _ },
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 76 |     requests: unsafe { &raw const screensaver_requests as *const _ },
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:59:62
[INFO] [stdout]    |
[INFO] [stdout] 59 |         fn interface_ptr() -> *const wl_interface { unsafe { &desktop_shell_interface } }
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 59 |         fn interface_ptr() -> *const wl_interface { unsafe { &raw const desktop_shell_interface } }
[INFO] [stdout]    |                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:312:62
[INFO] [stdout]     |
[INFO] [stdout] 312 |         fn interface_ptr() -> *const wl_interface { unsafe { &screensaver_interface } }
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 312 |         fn interface_ptr() -> *const wl_interface { unsafe { &raw const screensaver_interface } }
[INFO] [stdout]     |                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build
[INFO] [stdout]  --> build.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | use gcc::Config;
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build
[INFO] [stdout]   --> build.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut config = Config::new();
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained
[INFO] [stdout]   --> build.rs:16:30
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut config = Config::new();
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking wc-lock v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.24s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr] crater-edition-check: wc-lock v0.2.1 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling wc-lock v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build
[INFO] [stdout]  --> build.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | use gcc::Config;
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build
[INFO] [stdout]   --> build.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut config = Config::new();
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained
[INFO] [stdout]   --> build.rs:16:30
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut config = Config::new();
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling serde_json v0.9.10
[INFO] [stderr]    Compiling target_build_utils v0.3.1
[INFO] [stderr]    Compiling libloading v0.3.4
[INFO] [stderr]     Checking dlib v0.3.1
[INFO] [stderr]     Checking wayland-sys v0.9.10
[INFO] [stderr]     Checking wayland-client v0.9.10
[INFO] [stderr]     Checking wayland-kbd v0.9.1
[INFO] [stderr]     Checking way-cooler-client-helpers v0.1.0
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/input.rs:58:38
[INFO] [stdout]    |
[INFO] [stdout] 58 |                 let bytes: [u8; 4] = ::std::mem::transmute(val.to_be());
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 58 -                 let bytes: [u8; 4] = ::std::mem::transmute(val.to_be());
[INFO] [stdout] 58 +                 let bytes: [u8; 4] = u32::to_ne_bytes(val.to_be());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 18 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 23 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 26 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 27 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 30 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:33:141
[INFO] [stdout]    |
[INFO] [stdout] 33 | ... c_char, types: unsafe { &desktop_shell_requests_set_background_types as *const _ } },
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 33 |     wl_message { name: b"set_background\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_background_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:34:136
[INFO] [stdout]    |
[INFO] [stdout] 34 | ...st c_char, types: unsafe { &desktop_shell_requests_set_panel_types as *const _ } },
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 34 |     wl_message { name: b"set_panel\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_panel_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:35:143
[INFO] [stdout]    |
[INFO] [stdout] 35 | ...c_char, types: unsafe { &desktop_shell_requests_set_lock_surface_types as *const _ } },
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 35 |     wl_message { name: b"set_lock_surface\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_lock_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:36:131
[INFO] [stdout]    |
[INFO] [stdout] 36 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 36 |     wl_message { name: b"unlock\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:37:142
[INFO] [stdout]    |
[INFO] [stdout] 37 | ...c_char, types: unsafe { &desktop_shell_requests_set_grab_surface_types as *const _ } },
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 37 |     wl_message { name: b"set_grab_surface\0" as *const u8 as *const c_char, signature: b"o\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_grab_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:38:139
[INFO] [stdout]    |
[INFO] [stdout] 38 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 38 |     wl_message { name: b"desktop_ready\0" as *const u8 as *const c_char, signature: b"2\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                            +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:39:145
[INFO] [stdout]    |
[INFO] [stdout] 39 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 39 |     wl_message { name: b"set_panel_position\0" as *const u8 as *const c_char, signature: b"3u\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 43 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:48:138
[INFO] [stdout]    |
[INFO] [stdout] 48 | ...nst c_char, types: unsafe { &desktop_shell_events_configure_types as *const _ } },
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 48 |     wl_message { name: b"configure\0" as *const u8 as *const c_char, signature: b"uoii\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_events_configure_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:49:145
[INFO] [stdout]    |
[INFO] [stdout] 49 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 49 |     wl_message { name: b"prepare_lock_surface\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:50:137
[INFO] [stdout]    |
[INFO] [stdout] 50 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 50 |     wl_message { name: b"grab_cursor\0" as *const u8 as *const c_char, signature: b"u\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:57:24
[INFO] [stdout]    |
[INFO] [stdout] 57 |     requests: unsafe { &desktop_shell_requests as *const _ },
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 57 |     requests: unsafe { &raw const desktop_shell_requests as *const _ },
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:59:22
[INFO] [stdout]    |
[INFO] [stdout] 59 |     events: unsafe { &desktop_shell_events as *const _ },
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 59 |     events: unsafe { &raw const desktop_shell_events as *const _ },
[INFO] [stdout]    |                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:66:14
[INFO] [stdout]    |
[INFO] [stdout] 66 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 66 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:69:138
[INFO] [stdout]    |
[INFO] [stdout] 69 | ...st c_char, types: unsafe { &screensaver_requests_set_surface_types as *const _ } },
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 69 |     wl_message { name: b"set_surface\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const screensaver_requests_set_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:76:24
[INFO] [stdout]    |
[INFO] [stdout] 76 |     requests: unsafe { &screensaver_requests as *const _ },
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 76 |     requests: unsafe { &raw const screensaver_requests as *const _ },
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:59:62
[INFO] [stdout]    |
[INFO] [stdout] 59 |         fn interface_ptr() -> *const wl_interface { unsafe { &desktop_shell_interface } }
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 59 |         fn interface_ptr() -> *const wl_interface { unsafe { &raw const desktop_shell_interface } }
[INFO] [stdout]    |                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:312:62
[INFO] [stdout]     |
[INFO] [stdout] 312 |         fn interface_ptr() -> *const wl_interface { unsafe { &screensaver_interface } }
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 312 |         fn interface_ptr() -> *const wl_interface { unsafe { &raw const screensaver_interface } }
[INFO] [stdout]     |                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/input.rs:58:38
[INFO] [stdout]    |
[INFO] [stdout] 58 |                 let bytes: [u8; 4] = ::std::mem::transmute(val.to_be());
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 58 -                 let bytes: [u8; 4] = ::std::mem::transmute(val.to_be());
[INFO] [stdout] 58 +                 let bytes: [u8; 4] = u32::to_ne_bytes(val.to_be());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 18 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 23 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 26 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 27 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 30 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:33:141
[INFO] [stdout]    |
[INFO] [stdout] 33 | ... c_char, types: unsafe { &desktop_shell_requests_set_background_types as *const _ } },
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 33 |     wl_message { name: b"set_background\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_background_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:34:136
[INFO] [stdout]    |
[INFO] [stdout] 34 | ...st c_char, types: unsafe { &desktop_shell_requests_set_panel_types as *const _ } },
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 34 |     wl_message { name: b"set_panel\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_panel_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:35:143
[INFO] [stdout]    |
[INFO] [stdout] 35 | ...c_char, types: unsafe { &desktop_shell_requests_set_lock_surface_types as *const _ } },
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 35 |     wl_message { name: b"set_lock_surface\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_lock_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:36:131
[INFO] [stdout]    |
[INFO] [stdout] 36 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 36 |     wl_message { name: b"unlock\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:37:142
[INFO] [stdout]    |
[INFO] [stdout] 37 | ...c_char, types: unsafe { &desktop_shell_requests_set_grab_surface_types as *const _ } },
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 37 |     wl_message { name: b"set_grab_surface\0" as *const u8 as *const c_char, signature: b"o\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_grab_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:38:139
[INFO] [stdout]    |
[INFO] [stdout] 38 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 38 |     wl_message { name: b"desktop_ready\0" as *const u8 as *const c_char, signature: b"2\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                            +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:39:145
[INFO] [stdout]    |
[INFO] [stdout] 39 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 39 |     wl_message { name: b"set_panel_position\0" as *const u8 as *const c_char, signature: b"3u\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 43 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:48:138
[INFO] [stdout]    |
[INFO] [stdout] 48 | ...nst c_char, types: unsafe { &desktop_shell_events_configure_types as *const _ } },
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 48 |     wl_message { name: b"configure\0" as *const u8 as *const c_char, signature: b"uoii\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_events_configure_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:49:145
[INFO] [stdout]    |
[INFO] [stdout] 49 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 49 |     wl_message { name: b"prepare_lock_surface\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:50:137
[INFO] [stdout]    |
[INFO] [stdout] 50 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 50 |     wl_message { name: b"grab_cursor\0" as *const u8 as *const c_char, signature: b"u\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:57:24
[INFO] [stdout]    |
[INFO] [stdout] 57 |     requests: unsafe { &desktop_shell_requests as *const _ },
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 57 |     requests: unsafe { &raw const desktop_shell_requests as *const _ },
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:59:22
[INFO] [stdout]    |
[INFO] [stdout] 59 |     events: unsafe { &desktop_shell_events as *const _ },
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 59 |     events: unsafe { &raw const desktop_shell_events as *const _ },
[INFO] [stdout]    |                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:66:14
[INFO] [stdout]    |
[INFO] [stdout] 66 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 66 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:69:138
[INFO] [stdout]    |
[INFO] [stdout] 69 | ...st c_char, types: unsafe { &screensaver_requests_set_surface_types as *const _ } },
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 69 |     wl_message { name: b"set_surface\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const screensaver_requests_set_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:76:24
[INFO] [stdout]    |
[INFO] [stdout] 76 |     requests: unsafe { &screensaver_requests as *const _ },
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 76 |     requests: unsafe { &raw const screensaver_requests as *const _ },
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:59:62
[INFO] [stdout]    |
[INFO] [stdout] 59 |         fn interface_ptr() -> *const wl_interface { unsafe { &desktop_shell_interface } }
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 59 |         fn interface_ptr() -> *const wl_interface { unsafe { &raw const desktop_shell_interface } }
[INFO] [stdout]    |                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:312:62
[INFO] [stdout]     |
[INFO] [stdout] 312 |         fn interface_ptr() -> *const wl_interface { unsafe { &screensaver_interface } }
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 312 |         fn interface_ptr() -> *const wl_interface { unsafe { &raw const screensaver_interface } }
[INFO] [stdout]     |                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.02s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2015 edition to 2018
[INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build
[INFO] [stdout]  --> build.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | use gcc::Config;
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build
[INFO] [stdout]   --> build.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut config = Config::new();
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained
[INFO] [stdout]   --> build.rs:16:30
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut config = Config::new();
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking wc-lock v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/pam/mod.rs (1 fix)
[INFO] [stderr]        Fixed /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs (1 fix)
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:44:51
[INFO] [stdout]    |
[INFO] [stdout] 44 |             DesktopShell { ptr: ptr, data: Some((&*data).2.clone()) }
[INFO] [stdout]    |                                                   ^^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:53:55
[INFO] [stdout]    |
[INFO] [stdout] 53 |                 DesktopShell { ptr: ptr, data: Some((&*data).2.clone()) }
[INFO] [stdout]    |                                                       ^^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:297:50
[INFO] [stdout]     |
[INFO] [stdout] 297 |             Screensaver { ptr: ptr, data: Some((&*data).2.clone()) }
[INFO] [stdout]     |                                                  ^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:306:54
[INFO] [stdout]     |
[INFO] [stdout] 306 |                 Screensaver { ptr: ptr, data: Some((&*data).2.clone()) }
[INFO] [stdout]     |                                                      ^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 18 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 23 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 26 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 27 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 30 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:33:141
[INFO] [stdout]    |
[INFO] [stdout] 33 | ... c_char, types: unsafe { &desktop_shell_requests_set_background_types as *const _ } },
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 33 |     wl_message { name: b"set_background\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_background_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:34:136
[INFO] [stdout]    |
[INFO] [stdout] 34 | ...st c_char, types: unsafe { &desktop_shell_requests_set_panel_types as *const _ } },
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 34 |     wl_message { name: b"set_panel\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_panel_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:35:143
[INFO] [stdout]    |
[INFO] [stdout] 35 | ...c_char, types: unsafe { &desktop_shell_requests_set_lock_surface_types as *const _ } },
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 35 |     wl_message { name: b"set_lock_surface\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_lock_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:36:131
[INFO] [stdout]    |
[INFO] [stdout] 36 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 36 |     wl_message { name: b"unlock\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:37:142
[INFO] [stdout]    |
[INFO] [stdout] 37 | ...c_char, types: unsafe { &desktop_shell_requests_set_grab_surface_types as *const _ } },
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 37 |     wl_message { name: b"set_grab_surface\0" as *const u8 as *const c_char, signature: b"o\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_grab_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:38:139
[INFO] [stdout]    |
[INFO] [stdout] 38 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 38 |     wl_message { name: b"desktop_ready\0" as *const u8 as *const c_char, signature: b"2\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                            +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:39:145
[INFO] [stdout]    |
[INFO] [stdout] 39 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 39 |     wl_message { name: b"set_panel_position\0" as *const u8 as *const c_char, signature: b"3u\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 43 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:48:138
[INFO] [stdout]    |
[INFO] [stdout] 48 | ...nst c_char, types: unsafe { &desktop_shell_events_configure_types as *const _ } },
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 48 |     wl_message { name: b"configure\0" as *const u8 as *const c_char, signature: b"uoii\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_events_configure_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:49:145
[INFO] [stdout]    |
[INFO] [stdout] 49 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 49 |     wl_message { name: b"prepare_lock_surface\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:50:137
[INFO] [stdout]    |
[INFO] [stdout] 50 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 50 |     wl_message { name: b"grab_cursor\0" as *const u8 as *const c_char, signature: b"u\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:57:24
[INFO] [stdout]    |
[INFO] [stdout] 57 |     requests: unsafe { &desktop_shell_requests as *const _ },
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 57 |     requests: unsafe { &raw const desktop_shell_requests as *const _ },
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:59:22
[INFO] [stdout]    |
[INFO] [stdout] 59 |     events: unsafe { &desktop_shell_events as *const _ },
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 59 |     events: unsafe { &raw const desktop_shell_events as *const _ },
[INFO] [stdout]    |                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:66:14
[INFO] [stdout]    |
[INFO] [stdout] 66 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 66 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:69:138
[INFO] [stdout]    |
[INFO] [stdout] 69 | ...st c_char, types: unsafe { &screensaver_requests_set_surface_types as *const _ } },
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 69 |     wl_message { name: b"set_surface\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const screensaver_requests_set_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:76:24
[INFO] [stdout]    |
[INFO] [stdout] 76 |     requests: unsafe { &screensaver_requests as *const _ },
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 76 |     requests: unsafe { &raw const screensaver_requests as *const _ },
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:59:62
[INFO] [stdout]    |
[INFO] [stdout] 59 |         fn interface_ptr() -> *const wl_interface { unsafe { &desktop_shell_interface } }
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 59 |         fn interface_ptr() -> *const wl_interface { unsafe { &raw const desktop_shell_interface } }
[INFO] [stdout]    |                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:312:62
[INFO] [stdout]     |
[INFO] [stdout] 312 |         fn interface_ptr() -> *const wl_interface { unsafe { &screensaver_interface } }
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 312 |         fn interface_ptr() -> *const wl_interface { unsafe { &raw const screensaver_interface } }
[INFO] [stdout]     |                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:44:51
[INFO] [stdout]    |
[INFO] [stdout] 44 |             DesktopShell { ptr: ptr, data: Some((&*data).2.clone()) }
[INFO] [stdout]    |                                                   ^^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:53:55
[INFO] [stdout]    |
[INFO] [stdout] 53 |                 DesktopShell { ptr: ptr, data: Some((&*data).2.clone()) }
[INFO] [stdout]    |                                                       ^^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:297:50
[INFO] [stdout]     |
[INFO] [stdout] 297 |             Screensaver { ptr: ptr, data: Some((&*data).2.clone()) }
[INFO] [stdout]     |                                                  ^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:306:54
[INFO] [stdout]     |
[INFO] [stdout] 306 |                 Screensaver { ptr: ptr, data: Some((&*data).2.clone()) }
[INFO] [stdout]     |                                                      ^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 18 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 23 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 26 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 27 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 30 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:33:141
[INFO] [stdout]    |
[INFO] [stdout] 33 | ... c_char, types: unsafe { &desktop_shell_requests_set_background_types as *const _ } },
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 33 |     wl_message { name: b"set_background\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_background_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:34:136
[INFO] [stdout]    |
[INFO] [stdout] 34 | ...st c_char, types: unsafe { &desktop_shell_requests_set_panel_types as *const _ } },
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 34 |     wl_message { name: b"set_panel\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_panel_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:35:143
[INFO] [stdout]    |
[INFO] [stdout] 35 | ...c_char, types: unsafe { &desktop_shell_requests_set_lock_surface_types as *const _ } },
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 35 |     wl_message { name: b"set_lock_surface\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_lock_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:36:131
[INFO] [stdout]    |
[INFO] [stdout] 36 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 36 |     wl_message { name: b"unlock\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:37:142
[INFO] [stdout]    |
[INFO] [stdout] 37 | ...c_char, types: unsafe { &desktop_shell_requests_set_grab_surface_types as *const _ } },
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 37 |     wl_message { name: b"set_grab_surface\0" as *const u8 as *const c_char, signature: b"o\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_grab_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:38:139
[INFO] [stdout]    |
[INFO] [stdout] 38 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 38 |     wl_message { name: b"desktop_ready\0" as *const u8 as *const c_char, signature: b"2\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                            +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:39:145
[INFO] [stdout]    |
[INFO] [stdout] 39 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 39 |     wl_message { name: b"set_panel_position\0" as *const u8 as *const c_char, signature: b"3u\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 43 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:48:138
[INFO] [stdout]    |
[INFO] [stdout] 48 | ...nst c_char, types: unsafe { &desktop_shell_events_configure_types as *const _ } },
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 48 |     wl_message { name: b"configure\0" as *const u8 as *const c_char, signature: b"uoii\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_events_configure_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:49:145
[INFO] [stdout]    |
[INFO] [stdout] 49 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 49 |     wl_message { name: b"prepare_lock_surface\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:50:137
[INFO] [stdout]    |
[INFO] [stdout] 50 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 50 |     wl_message { name: b"grab_cursor\0" as *const u8 as *const c_char, signature: b"u\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:57:24
[INFO] [stdout]    |
[INFO] [stdout] 57 |     requests: unsafe { &desktop_shell_requests as *const _ },
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 57 |     requests: unsafe { &raw const desktop_shell_requests as *const _ },
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.98s
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:59:22
[INFO] [stdout]    |
[INFO] [stdout] 59 |     events: unsafe { &desktop_shell_events as *const _ },
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 59 |     events: unsafe { &raw const desktop_shell_events as *const _ },
[INFO] [stdout]    |                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:66:14
[INFO] [stdout]    |
[INFO] [stdout] 66 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 66 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:69:138
[INFO] [stdout]    |
[INFO] [stdout] 69 | ...st c_char, types: unsafe { &screensaver_requests_set_surface_types as *const _ } },
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 69 |     wl_message { name: b"set_surface\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const screensaver_requests_set_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:76:24
[INFO] [stdout]    |
[INFO] [stdout] 76 |     requests: unsafe { &screensaver_requests as *const _ },
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 76 |     requests: unsafe { &raw const screensaver_requests as *const _ },
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:59:62
[INFO] [stdout]    |
[INFO] [stdout] 59 |         fn interface_ptr() -> *const wl_interface { unsafe { &desktop_shell_interface } }
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 59 |         fn interface_ptr() -> *const wl_interface { unsafe { &raw const desktop_shell_interface } }
[INFO] [stdout]    |                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:312:62
[INFO] [stdout]     |
[INFO] [stdout] 312 |         fn interface_ptr() -> *const wl_interface { unsafe { &screensaver_interface } }
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 312 |         fn interface_ptr() -> *const wl_interface { unsafe { &raw const screensaver_interface } }
[INFO] [stdout]     |                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr] crater-edition-check: wc-lock v0.2.1 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling wc-lock v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build
[INFO] [stdout]  --> build.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | use gcc::Config;
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build
[INFO] [stdout]   --> build.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut config = Config::new();
[INFO] [stdout]    |                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained
[INFO] [stdout]   --> build.rs:16:30
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let mut config = Config::new();
[INFO] [stdout]    |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:44:51
[INFO] [stdout]    |
[INFO] [stdout] 44 |             DesktopShell { ptr: ptr, data: Some((&*data).2.clone()) }
[INFO] [stdout]    |                                                   ^^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:53:55
[INFO] [stdout]    |
[INFO] [stdout] 53 |                 DesktopShell { ptr: ptr, data: Some((&*data).2.clone()) }
[INFO] [stdout]    |                                                       ^^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:188:34
[INFO] [stdout]     |
[INFO] [stdout] 188 |                     let edges = {*(args.offset(0) as *const u32)};
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:185:9
[INFO] [stdout]     |
[INFO] [stdout] 185 | ...   unsafe fn __message(&mut self, evq: &mut EventQueueHandle,  proxy: &DesktopShell, opcode: u32, args: *const wl_argument) -> Result<(),()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::<impl *const T>::offset` is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:188:36
[INFO] [stdout]     |
[INFO] [stdout] 188 |                     let edges = {*(args.offset(0) as *const u32)};
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `wayland_client::Proxy::from_ptr_initialized` is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:189:36
[INFO] [stdout]     |
[INFO] [stdout] 189 |                     let surface = {Proxy::from_ptr_initialized(*(args.offset(1) as *const *mut wl_proxy))};
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:189:64
[INFO] [stdout]     |
[INFO] [stdout] 189 |                     let surface = {Proxy::from_ptr_initialized(*(args.offset(1) as *const *mut wl_proxy))};
[INFO] [stdout]     |                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::<impl *const T>::offset` is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:189:66
[INFO] [stdout]     |
[INFO] [stdout] 189 |                     let surface = {Proxy::from_ptr_initialized(*(args.offset(1) as *const *mut wl_proxy))};
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:190:34
[INFO] [stdout]     |
[INFO] [stdout] 190 |                     let width = {*(args.offset(2) as *const i32)};
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::<impl *const T>::offset` is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:190:36
[INFO] [stdout]     |
[INFO] [stdout] 190 |                     let width = {*(args.offset(2) as *const i32)};
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:191:35
[INFO] [stdout]     |
[INFO] [stdout] 191 |                     let height = {*(args.offset(3) as *const i32)};
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::<impl *const T>::offset` is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:191:37
[INFO] [stdout]     |
[INFO] [stdout] 191 |                     let height = {*(args.offset(3) as *const i32)};
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:198:35
[INFO] [stdout]     |
[INFO] [stdout] 198 |                     let cursor = {*(args.offset(0) as *const u32)};
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::<impl *const T>::offset` is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:198:37
[INFO] [stdout]     |
[INFO] [stdout] 198 |                     let cursor = {*(args.offset(0) as *const u32)};
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:297:50
[INFO] [stdout]     |
[INFO] [stdout] 297 |             Screensaver { ptr: ptr, data: Some((&*data).2.clone()) }
[INFO] [stdout]     |                                                  ^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:306:54
[INFO] [stdout]     |
[INFO] [stdout] 306 |                 Screensaver { ptr: ptr, data: Some((&*data).2.clone()) }
[INFO] [stdout]     |                                                      ^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/input.rs:58:38
[INFO] [stdout]    |
[INFO] [stdout] 58 |                 let bytes: [u8; 4] = ::std::mem::transmute(val.to_be());
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 58 -                 let bytes: [u8; 4] = ::std::mem::transmute(val.to_be());
[INFO] [stdout] 58 +                 let bytes: [u8; 4] = u32::to_ne_bytes(val.to_be());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 18 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 23 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 26 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 27 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 30 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:33:141
[INFO] [stdout]    |
[INFO] [stdout] 33 | ... c_char, types: unsafe { &desktop_shell_requests_set_background_types as *const _ } },
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 33 |     wl_message { name: b"set_background\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_background_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:34:136
[INFO] [stdout]    |
[INFO] [stdout] 34 | ...st c_char, types: unsafe { &desktop_shell_requests_set_panel_types as *const _ } },
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 34 |     wl_message { name: b"set_panel\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_panel_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:35:143
[INFO] [stdout]    |
[INFO] [stdout] 35 | ...c_char, types: unsafe { &desktop_shell_requests_set_lock_surface_types as *const _ } },
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 35 |     wl_message { name: b"set_lock_surface\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_lock_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:36:131
[INFO] [stdout]    |
[INFO] [stdout] 36 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 36 |     wl_message { name: b"unlock\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:37:142
[INFO] [stdout]    |
[INFO] [stdout] 37 | ...c_char, types: unsafe { &desktop_shell_requests_set_grab_surface_types as *const _ } },
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 37 |     wl_message { name: b"set_grab_surface\0" as *const u8 as *const c_char, signature: b"o\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_grab_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:38:139
[INFO] [stdout]    |
[INFO] [stdout] 38 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 38 |     wl_message { name: b"desktop_ready\0" as *const u8 as *const c_char, signature: b"2\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                            +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:39:145
[INFO] [stdout]    |
[INFO] [stdout] 39 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 39 |     wl_message { name: b"set_panel_position\0" as *const u8 as *const c_char, signature: b"3u\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 43 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:48:138
[INFO] [stdout]    |
[INFO] [stdout] 48 | ...nst c_char, types: unsafe { &desktop_shell_events_configure_types as *const _ } },
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 48 |     wl_message { name: b"configure\0" as *const u8 as *const c_char, signature: b"uoii\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_events_configure_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:49:145
[INFO] [stdout]    |
[INFO] [stdout] 49 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 49 |     wl_message { name: b"prepare_lock_surface\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wc-lock` (bin "wc-lock") due to 26 previous errors; 16 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:50:137
[INFO] [stdout]    |
[INFO] [stdout] 50 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 50 |     wl_message { name: b"grab_cursor\0" as *const u8 as *const c_char, signature: b"u\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:57:24
[INFO] [stdout]    |
[INFO] [stdout] 57 |     requests: unsafe { &desktop_shell_requests as *const _ },
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 57 |     requests: unsafe { &raw const desktop_shell_requests as *const _ },
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:59:22
[INFO] [stdout]    |
[INFO] [stdout] 59 |     events: unsafe { &desktop_shell_events as *const _ },
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 59 |     events: unsafe { &raw const desktop_shell_events as *const _ },
[INFO] [stdout]    |                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:66:14
[INFO] [stdout]    |
[INFO] [stdout] 66 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 66 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:69:138
[INFO] [stdout]    |
[INFO] [stdout] 69 | ...st c_char, types: unsafe { &screensaver_requests_set_surface_types as *const _ } },
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 69 |     wl_message { name: b"set_surface\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const screensaver_requests_set_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:76:24
[INFO] [stdout]    |
[INFO] [stdout] 76 |     requests: unsafe { &screensaver_requests as *const _ },
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 76 |     requests: unsafe { &raw const screensaver_requests as *const _ },
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:59:62
[INFO] [stdout]    |
[INFO] [stdout] 59 |         fn interface_ptr() -> *const wl_interface { unsafe { &desktop_shell_interface } }
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 59 |         fn interface_ptr() -> *const wl_interface { unsafe { &raw const desktop_shell_interface } }
[INFO] [stdout]    |                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:312:62
[INFO] [stdout]     |
[INFO] [stdout] 312 |         fn interface_ptr() -> *const wl_interface { unsafe { &screensaver_interface } }
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 312 |         fn interface_ptr() -> *const wl_interface { unsafe { &raw const screensaver_interface } }
[INFO] [stdout]     |                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:44:51
[INFO] [stdout]    |
[INFO] [stdout] 44 |             DesktopShell { ptr: ptr, data: Some((&*data).2.clone()) }
[INFO] [stdout]    |                                                   ^^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:53:55
[INFO] [stdout]    |
[INFO] [stdout] 53 |                 DesktopShell { ptr: ptr, data: Some((&*data).2.clone()) }
[INFO] [stdout]    |                                                       ^^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:188:34
[INFO] [stdout]     |
[INFO] [stdout] 188 |                     let edges = {*(args.offset(0) as *const u32)};
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:185:9
[INFO] [stdout]     |
[INFO] [stdout] 185 | ...   unsafe fn __message(&mut self, evq: &mut EventQueueHandle,  proxy: &DesktopShell, opcode: u32, args: *const wl_argument) -> Result<(),()> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::<impl *const T>::offset` is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:188:36
[INFO] [stdout]     |
[INFO] [stdout] 188 |                     let edges = {*(args.offset(0) as *const u32)};
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `wayland_client::Proxy::from_ptr_initialized` is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:189:36
[INFO] [stdout]     |
[INFO] [stdout] 189 |                     let surface = {Proxy::from_ptr_initialized(*(args.offset(1) as *const *mut wl_proxy))};
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:189:64
[INFO] [stdout]     |
[INFO] [stdout] 189 |                     let surface = {Proxy::from_ptr_initialized(*(args.offset(1) as *const *mut wl_proxy))};
[INFO] [stdout]     |                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::<impl *const T>::offset` is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:189:66
[INFO] [stdout]     |
[INFO] [stdout] 189 |                     let surface = {Proxy::from_ptr_initialized(*(args.offset(1) as *const *mut wl_proxy))};
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:190:34
[INFO] [stdout]     |
[INFO] [stdout] 190 |                     let width = {*(args.offset(2) as *const i32)};
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::<impl *const T>::offset` is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:190:36
[INFO] [stdout]     |
[INFO] [stdout] 190 |                     let width = {*(args.offset(2) as *const i32)};
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:191:35
[INFO] [stdout]     |
[INFO] [stdout] 191 |                     let height = {*(args.offset(3) as *const i32)};
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::<impl *const T>::offset` is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:191:37
[INFO] [stdout]     |
[INFO] [stdout] 191 |                     let height = {*(args.offset(3) as *const i32)};
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:198:35
[INFO] [stdout]     |
[INFO] [stdout] 198 |                     let cursor = {*(args.offset(0) as *const u32)};
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::<impl *const T>::offset` is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:198:37
[INFO] [stdout]     |
[INFO] [stdout] 198 |                     let cursor = {*(args.offset(0) as *const u32)};
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:297:50
[INFO] [stdout]     |
[INFO] [stdout] 297 |             Screensaver { ptr: ptr, data: Some((&*data).2.clone()) }
[INFO] [stdout]     |                                                  ^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:306:54
[INFO] [stdout]     |
[INFO] [stdout] 306 |                 Screensaver { ptr: ptr, data: Some((&*data).2.clone()) }
[INFO] [stdout]     |                                                      ^^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]   --> src/input.rs:58:38
[INFO] [stdout]    |
[INFO] [stdout] 58 |                 let bytes: [u8; 4] = ::std::mem::transmute(val.to_be());
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]    = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]    |
[INFO] [stdout] 58 -                 let bytes: [u8; 4] = ::std::mem::transmute(val.to_be());
[INFO] [stdout] 58 +                 let bytes: [u8; 4] = u32::to_ne_bytes(val.to_be());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 18 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 23 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 26 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 27 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:30:14
[INFO] [stdout]    |
[INFO] [stdout] 30 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 30 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:33:141
[INFO] [stdout]    |
[INFO] [stdout] 33 | ... c_char, types: unsafe { &desktop_shell_requests_set_background_types as *const _ } },
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 33 |     wl_message { name: b"set_background\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_background_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:34:136
[INFO] [stdout]    |
[INFO] [stdout] 34 | ...st c_char, types: unsafe { &desktop_shell_requests_set_panel_types as *const _ } },
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 34 |     wl_message { name: b"set_panel\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_panel_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:35:143
[INFO] [stdout]    |
[INFO] [stdout] 35 | ...c_char, types: unsafe { &desktop_shell_requests_set_lock_surface_types as *const _ } },
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 35 |     wl_message { name: b"set_lock_surface\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_lock_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                                +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:36:131
[INFO] [stdout]    |
[INFO] [stdout] 36 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 36 |     wl_message { name: b"unlock\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:37:142
[INFO] [stdout]    |
[INFO] [stdout] 37 | ...c_char, types: unsafe { &desktop_shell_requests_set_grab_surface_types as *const _ } },
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 37 |     wl_message { name: b"set_grab_surface\0" as *const u8 as *const c_char, signature: b"o\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_requests_set_grab_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:38:139
[INFO] [stdout]    |
[INFO] [stdout] 38 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 38 |     wl_message { name: b"desktop_ready\0" as *const u8 as *const c_char, signature: b"2\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                            +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:39:145
[INFO] [stdout]    |
[INFO] [stdout] 39 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 39 |     wl_message { name: b"set_panel_position\0" as *const u8 as *const c_char, signature: b"3u\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 43 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:48:138
[INFO] [stdout]    |
[INFO] [stdout] 48 | ...nst c_char, types: unsafe { &desktop_shell_events_configure_types as *const _ } },
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 48 |     wl_message { name: b"configure\0" as *const u8 as *const c_char, signature: b"uoii\0" as *const u8 as *const c_char, types: unsafe { &raw const desktop_shell_events_configure_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:49:145
[INFO] [stdout]    |
[INFO] [stdout] 49 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 49 |     wl_message { name: b"prepare_lock_surface\0" as *const u8 as *const c_char, signature: b"\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                                  +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:50:137
[INFO] [stdout]    |
[INFO] [stdout] 50 | ...nst u8 as *const c_char, types: unsafe { &types_null as *const _ } },
[INFO] [stdout]    |                                             ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 50 |     wl_message { name: b"grab_cursor\0" as *const u8 as *const c_char, signature: b"u\0" as *const u8 as *const c_char, types: unsafe { &raw const types_null as *const _ } },
[INFO] [stdout]    |                                                                                                                                          +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:57:24
[INFO] [stdout]    |
[INFO] [stdout] 57 |     requests: unsafe { &desktop_shell_requests as *const _ },
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 57 |     requests: unsafe { &raw const desktop_shell_requests as *const _ },
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:59:22
[INFO] [stdout]    |
[INFO] [stdout] 59 |     events: unsafe { &desktop_shell_events as *const _ },
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 59 |     events: unsafe { &raw const desktop_shell_events as *const _ },
[INFO] [stdout]    |                       +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |     unsafe { &wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 65 |     unsafe { &raw const wl_surface_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:66:14
[INFO] [stdout]    |
[INFO] [stdout] 66 |     unsafe { &wl_output_interface as *const wl_interface },
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 66 |     unsafe { &raw const wl_output_interface as *const wl_interface },
[INFO] [stdout]    |               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:69:138
[INFO] [stdout]    |
[INFO] [stdout] 69 | ...st c_char, types: unsafe { &screensaver_requests_set_surface_types as *const _ } },
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 69 |     wl_message { name: b"set_surface\0" as *const u8 as *const c_char, signature: b"oo\0" as *const u8 as *const c_char, types: unsafe { &raw const screensaver_requests_set_surface_types as *const _ } },
[INFO] [stdout]    |                                                                                                                                           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_interface.rs:76:24
[INFO] [stdout]    |
[INFO] [stdout] 76 |     requests: unsafe { &screensaver_requests as *const _ },
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 76 |     requests: unsafe { &raw const screensaver_requests as *const _ },
[INFO] [stdout]    |                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:59:62
[INFO] [stdout]    |
[INFO] [stdout] 59 |         fn interface_ptr() -> *const wl_interface { unsafe { &desktop_shell_interface } }
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 59 |         fn interface_ptr() -> *const wl_interface { unsafe { &raw const desktop_shell_interface } }
[INFO] [stdout]    |                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/wc-lock-cd43a485f7656839/out/desktop-shell_api.rs:312:62
[INFO] [stdout]     |
[INFO] [stdout] 312 |         fn interface_ptr() -> *const wl_interface { unsafe { &screensaver_interface } }
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 312 |         fn interface_ptr() -> *const wl_interface { unsafe { &raw const screensaver_interface } }
[INFO] [stdout]     |                                                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wc-lock` (bin "wc-lock" test) due to 26 previous errors; 16 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8d8eb7f226eb5548bff69c4536cdb872aa1c22489d4e52774a70487ed94a2eba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d8eb7f226eb5548bff69c4536cdb872aa1c22489d4e52774a70487ed94a2eba", kill_on_drop: false }`
[INFO] [stdout] 8d8eb7f226eb5548bff69c4536cdb872aa1c22489d4e52774a70487ed94a2eba
